package degreeAndSyllabus;

import subjectAndProfessorship.Professorship;

/**
 * @author Nati
 */
public class Complementary extends SubjectType {
	public void enrollStudent(Professorship catedra, SubjectInPlan sip, Degree carrera, EnrolledInDegree alumno) {
		if (sip.aproboMateriasObligatorias (alumno, carrera)){
			super.agregarAlumnoConCondicion(alumno, sip, catedra) ; 
		} else{
			System.out.println("NO APROBE TODAS LAS MATERIAS OBLIGATORIAS");
		}
	}
}
